package 数据结构.章节10._170_实现HashSet;

import org.junit.Before;
import org.junit.Test;

/**
 * @author 挚爱之夕
 * @date 2021/10/16 - 10 - 16 - 17:39
 * @Description: 数据结构.章节10._170_实现HashSet
 * @Version: 1.0
 */
public class MyHashSetTest {
    MyHashSet<Object> set = new MyHashSet<>();

    @Test
    @Before
    public void add() {
        set.add(1);
        set.add(2);
        set.add("无");
    }

    @Test
    public void remove() {
        System.out.println(set);
        set.remove(1);
        System.out.println(set);
    }

    @Test
    public void clear() {
        set.clear();
        System.out.println(set);
    }

    @Test
    public void contains() {
    }

    @Test
    public void isEmpty() {
    }

    @Test
    public void size() {
    }

    @Test
    public void testToString() {
    }
}